import request from '@/utils/request'

const api = {
  queryWmsMaterialPageUrl: '/wms_material/query_wms_material_page',
  getWmsMaterialDetailUrl: '/wms_material/get_wms_material_detail',
}
export async function getWmsMaterialDetailApi(params: Map<string, any>) {
  const res = await request({
    url: api.getWmsMaterialDetailUrl,
    method: 'post',
    data: params,
  })
  return res
}

export async function queryWmsMaterialPageApi(params: Map<string, any>) {
  const res = await request({
    url: api.queryWmsMaterialPageUrl,
    method: 'post',
    data: params,
  })
  return res
}
